package org.gl.training.gwt.client.service;

import java.util.List;

import org.gl.training.gwt.shared.model.UserVO;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface UserServiceAsync {

	void getUser(String userName, AsyncCallback<UserVO> callback);

	void getUsers(AsyncCallback<List<UserVO>> callback);

	void saveUser(UserVO userVO, AsyncCallback<Void> callback);

	void delete(List<Integer> idList, AsyncCallback<Void> callback);

	void approve(List<Integer> idList, AsyncCallback<Void> callback);

	void sendEmail(List<Integer> idList, AsyncCallback<Void> callback);
}
